package DbObjects;

public class Address implements java.io.Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public int addressId;
	public String streetNumber;
	public String streetAddress;
	public String city;
	public String state;
	public String zip;
	
	public Address()
	{
		this.addressId = 0;
		this.streetNumber = "";
		this.streetAddress = "";
		this.city = "";
		this.state = "";
		this.zip = "";
	}
	
	public Address(int addressId, String streetNumber, String streetAddress,
			       String city, String state, String zip)
	{
		this.addressId = addressId;
		this.streetNumber = streetNumber;
		this.streetAddress = streetAddress;
		this.city = city;
		this.state = state;
		this.zip = zip;
	}
	
	public void setAddressId(int addressId) 
	{
		this.addressId = addressId;
	}
	
	public int getAddressId() 
	{
		return addressId;
	}
	
	public void setStreetNumber(String streetNumber) 
	{
		this.streetNumber = streetNumber;
	}
	
	public String getStreetNumber() 
	{
		return streetNumber;
	}
	
	public void setStreetAddress(String streetAddress) 
	{
		this.streetAddress = streetAddress;
	}
	
	public String getStreetAddress() 
	{
		return streetAddress;
	}
	
	public void setCity(String city) 
	{
		this.city = city;
	}
	
	public String getCity() 
	{
		return city;
	}
	
	public void setState(String state) 
	{
		this.state = state;
	}
	
	public String getState() 
	{
		return state;
	}
	
	public void setZip(String zip) 
	{
		this.zip = zip;
	}
	
	public String getZip() 
	{
		return zip;
	}
	
	@Override
	public String toString()
	{
		return //this.addressId + "\t" + 
		       this.streetNumber + " " +
		       this.streetAddress + ", " +
		       this.city + ", " +
		       this.state + " " +
		       this.zip;
	}
}
